package com.sky.service;


import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.entity.Setmeal;
import com.sky.result.PageResult;
import com.sky.vo.DishItemVO;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DishService {

    public

    void saveWithFlavor(DishDTO dto);


    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void deletebatch(List<Long> ids);

    List<DishVO> getbyidwithflavor(Dish dish);

    void updatewithflavor(DishDTO dto);

    List<Dish> list(Long categoryId);

    void statusorstop(Integer status, Long id);

    /**
     * 条件查询菜品和口味
     * @param dish
     * @return
     */
    List<DishVO> listWithFlavor(Dish dish);


}
